#!/bin/sh
export servercert=3server.crt
export privatekey=3server.key
export serverpwd="whatever"

cmd=$1
if [ "$cmd" = "s" ];then
echo "cert:$servercert key:$privatekey pwd:$serverpwd"
./examplesslserver 5555 c 3 -t
elif [ "$cmd" = "c" ];then

export truststore=multica2.crt
./examplesslclient 127.0.0.1 5555 c 3 -t

fi
